package com.llianejapan.Types;

public class KanjiTypeOCR {
	public Complex fftv_[];	
	public String kanji_;
	public int strokes_;
	public KanjiTypeOCR (  String kanji, 
			   double fftr0,
			   double ffti0,
			   double fftr1,
			   double ffti1,
			   double fftr2,
			   double ffti2,
			   double fftr3,
			   double ffti3,
			   double fftr4,
			   double ffti4,
			   double fftr5,
			   double ffti5,
			   double fftr6,
			   double ffti6,
			   double fftr7,
			   double ffti7,
			   double fftr8,
			   double ffti8,
			   double fftr9,
			   double ffti9)
			   {
		kanji_ = kanji;
		fftv_ = new Complex[10];
		strokes_ = 0;
		fftv_[0] = new Complex(fftr0, ffti0);
		fftv_[1] = new Complex(fftr1, ffti1);
		fftv_[2] = new Complex(fftr2, ffti2);
		fftv_[3] = new Complex(fftr3, ffti3);
		fftv_[4] = new Complex(fftr4, ffti4);
		fftv_[5] = new Complex(fftr5, ffti5);
		fftv_[6] = new Complex(fftr6, ffti6);
		fftv_[7] = new Complex(fftr7, ffti7);
		fftv_[8] = new Complex(fftr8, ffti8);
		fftv_[9] = new Complex(fftr9, ffti9);
			   }
	public KanjiTypeOCR (  String kanji,
			   int strokes,
			   double fftr0,
			   double ffti0,
			   double fftr1,
			   double ffti1,
			   double fftr2,
			   double ffti2,
			   double fftr3,
			   double ffti3,
			   double fftr4,
			   double ffti4,
			   double fftr5,
			   double ffti5,
			   double fftr6,
			   double ffti6,
			   double fftr7,
			   double ffti7,
			   double fftr8,
			   double ffti8,
			   double fftr9,
			   double ffti9)
			   {
		kanji_ = kanji;
		strokes_ = strokes;
		fftv_ = new Complex[10];
		fftv_[0] = new Complex(fftr0, ffti0);
		fftv_[1] = new Complex(fftr1, ffti1);
		fftv_[2] = new Complex(fftr2, ffti2);
		fftv_[3] = new Complex(fftr3, ffti3);
		fftv_[4] = new Complex(fftr4, ffti4);
		fftv_[5] = new Complex(fftr5, ffti5);
		fftv_[6] = new Complex(fftr6, ffti6);
		fftv_[7] = new Complex(fftr7, ffti7);
		fftv_[8] = new Complex(fftr8, ffti8);
		fftv_[9] = new Complex(fftr9, ffti9);
			   }
}
